Skip to content

[ACR] add breaking change message#9659

Merged
necusjz merged 11 commits intoAzure:mainfrom
nguyenm2151:nguyenma/breakingchange
Mar 17, 2026
Merged

[ACR] add breaking change message#9659
necusjz merged 11 commits intoAzure:mainfrom
nguyenm2151:nguyenma/breakingchange

Conversation

@nguyenm2151
Copy link
Copy Markdown
Contributor


This checklist is used to make sure that common guidelines for a pull request are followed.

Related command

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)
  • My extension version conforms to the Extension version schema

For new extensions:

About Extension Publish

There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Copilot AI review requested due to automatic review settings March 7, 2026 03:35
@azure-client-tools-bot-prd
Copy link
Copy Markdown

azure-client-tools-bot-prd bot commented Mar 7, 2026

⚠️Azure CLI Extensions Breaking Change Test
⚠️acrtransfer
rule cmd_name rule_message suggest_message
⚠️ 1003 - CmdPropAdd acr export-pipeline create cmd acr export-pipeline create added property deprecate_info_target
⚠️ 1003 - CmdPropAdd acr import-pipeline create cmd acr import-pipeline create added property deprecate_info_target

@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented Mar 7, 2026

Thank you for your contribution! We will review the pull request and get back to you soon.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 7, 2026

The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR.

Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions).
After that please run the following commands to enable git hooks:

pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Azure CLI “breaking change” announcements to the acrtransfer extension for upcoming required parameters on pipeline create commands, along with a new scenario test and version bump.

Changes:

  • Register breaking change announcements for acr export-pipeline create and acr import-pipeline create regarding the upcoming required --storage-access-mode parameter.
  • Bump acrtransfer extension version to 1.1.1b1 and add release note entry.
  • Add a scenario test + recording for acr import-pipeline list and clean up an empty/placeholder test file.

Reviewed changes

Copilot reviewed 7 out of 9 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/acrtransfer/setup.py Bumps extension version to 1.1.1b1.
src/acrtransfer/HISTORY.rst Adds release notes for the breaking change announcement.
src/acrtransfer/azext_acrtransfer/_breaking_change.py Registers breaking change notifications for pipeline create commands.
src/acrtransfer/azext_acrtransfer/init.py Imports breaking change module to trigger registration.
src/acrtransfer/azext_acrtransfer/tests/init.py Adds test package initializer.
src/acrtransfer/azext_acrtransfer/tests/latest/init.py Adds latest tests package initializer.
src/acrtransfer/azext_acrtransfer/tests/latest/test_acrtransfer_scenario.py Adds scenario test covering acr import-pipeline list.
src/acrtransfer/azext_acrtransfer/tests/latest/test_acrtransfer_scenario Removes placeholder/empty test artifact.
src/acrtransfer/azext_acrtransfer/tests/latest/recordings/test_acrtransfer_import_pipeline_list.yaml Adds recording for the new scenario test.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 7, 2026

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@nguyenm2151
Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

Commenter does not have sufficient privileges for PR 9659 in repo Azure/azure-cli-extensions

@nguyenm2151
Copy link
Copy Markdown
Contributor Author

@yonzhan can you help me trigger the CI

@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented Mar 7, 2026

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 2 pipeline(s).

@yonzhan yonzhan requested a review from yanzhudd March 7, 2026 15:26
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@nguyenm2151
Copy link
Copy Markdown
Contributor Author

@yanzhudd the test says that I've modified index.json but i havent. Is there anyway to fix this

image

@nguyenm2151
Copy link
Copy Markdown
Contributor Author

@yanzhudd can i get help for this

@nguyenm2151
Copy link
Copy Markdown
Contributor Author

nguyenm2151 commented Mar 11, 2026

@yonzhan can i please get some help on this. The test says I edited index.json but I dont have any changes to index.json in my PR

@necusjz
Copy link
Copy Markdown
Member

necusjz commented Mar 15, 2026

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 2 pipeline(s).

@nguyenm2151
Copy link
Copy Markdown
Contributor Author

@necusjz can I get an approval now that the tests passed

@necusjz necusjz merged commit 18f4d36 into Azure:main Mar 17, 2026
24 checks passed
@azclibot
Copy link
Copy Markdown
Collaborator

[Release] Update index.json for extension [ acrtransfer-1.1.1b1 ] : https://dev.azure.com/msazure/One/_build/results?buildId=157008843&view=results

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants